<!DOCTYPE html>
<!--
*@Author 蝶影
*@Date 2020/12/8  20:23
*@Version 1.0
-->
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>管理平台</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/bootstrap.min.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/font-awesome.min.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="${request.contextPath}/statics/css/all-skins.min.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/main.css">

    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<!-- ADD THE CLASS layout-boxed TO GET A BOXED LAYOUT -->
<body class="hold-transition skin-blue sidebar-mini">
<!-- Site wrapper -->
<div class="wrapper" id="pmpapp" v-cloak>
    <header class="main-header">
        <a href="javascript:void(0);" class="logo" style="background-color: #00a69cfc;">
            <span class="logo-mini"><b></b></span>
            <span class="logo-lg"><b>管理平台</b></span>
        </a>
        <nav class="navbar navbar-static-top" role="navigation" style="background-color: #3cbcaf;">
            <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                <span class="sr-only">Toggle navigation</span>
            </a>
            <div style="float:left;color:#fff;padding:15px 10px;">欢迎：工号： {{staff.jobNumber}} &nbsp; 姓名：{{staff.name}}</div>
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <li><a href="javascript:;" @click="updatePassword"><i class="fa fa-unlock"></i> &nbsp;修改密码</a></li>
                    <li><a href="logout"><i class="fa fa-sign-out"></i> &nbsp;注销系统</a></li>
                </ul>
            </div>
        </nav>
    </header>

    <!-- =============================================== -->
    <!-- Left side column. contains the sidebar -->
    <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
            <!-- /.search form -->
            <!-- sidebar menu: : style can be found in sidebar.less -->

            <!--动态生成菜单-->
            <ul class="sidebar-menu">
                <li class="header">菜单栏</li>

                <!-- vue生成的菜单 -->
                <menu-item :item="item" v-for="item in menuList"></menu-item>
            </ul>

            <!--静态-->
<!--            <ul class="sidebar-menu">-->
<!--                <li class="header">菜单栏</li>-->
<!--                <li class="active"><a href="javascript:;"><i class="fa fa-cog"></i> <span>系统管理</span> <i class="fa fa-angle-left pull-right"></i></a>-->
<!--                    <ul class="treeview-menu menu-open" style="display: block;">-->
<!--                        <li><a href="modules/sys/staff" target="ifram"><i class="fa fa-user"></i> 用户管理</a></li>-->
<!--                        <li><a href="modules/sys/department" target="ifram"><i class="fa fa-file-code-o"></i> 部门管理</a></li>-->
<!--                        <li><a href="modules/sys/post" target="ifram"><i class="fa fa-podcast"></i> 岗位管理</a></li>-->
<!--                        <li><a href="modules/sys/menu" target="ifram"><i class="fa fa-th-list"></i> 菜单管理</a></li>-->
<!--                        <li><a href="modules/sys/role" target="ifram"><i class="fa fa-user-secret"></i> 角色管理</a></li>-->
<!--                        <li><a href="modules/sys/dict" target="ifram"><i class="fa fa-bookmark-o"></i> 字典管理</a></li>-->
<!--                        <li><a href="modules/sys/log" target="ifram"><i class="fa fa-file-text-o"></i> 系统日志</a>-->
<!--                    </ul>-->
<!--                </li>-->
<!--            </ul>-->


        </section>
        <!-- /.sidebar -->
    </aside>
    <!-- =============================================== -->
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <ol class="breadcrumb" id="nav_title" style="position:static;float:none;">
                <li class="active"><i class="fa fa-home" style="font-size:20px;position:relative;top:2px;left:-3px;"></i> &nbsp;首页</li>
                <li class="active">{{navTitle}}</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content" style="background:#fff;">
            <iframe scrolling="yes" name="ifram" frameborder="0" style="width:100%;min-height:200px;overflow:visible;background:#fff;" :src="main"></iframe>
        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <footer class="main-footer" style="text-align: center;">
       万码 &copy; &nbsp; 2020<a class="CopyRight" href="http://www.wanmait.com/" target="_blank"><strong style="color: red">万码学堂</strong></a>
    </footer>

    <!-- Add the sidebar's background. This div must be placed
         immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>

    <!-- 修改密码 -->
    <div id="passwordLayer" style="display: none;">
        <form class="form-horizontal">
            <div class="form-group">
                <div class="form-group">
                    <div class="col-sm-2 control-label">工号</div>
                    <span class="label label-success" style="vertical-align: bottom;"> {{staff.jobNumber}} </span>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">原密码</div>
                    <div class="col-sm-10">
                        <input type="password" class="form-control" v-model="password" placeholder="原密码"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">新密码</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" v-model="newPassword1" placeholder="新密码"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">再次输入</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" v-model="newPassword2" placeholder="请再次输入密码"/>
                    </div>
                </div>
            </div>
        </form>
    </div>

</div>
<!-- ./wrapper -->


    <script src="${request.contextPath}/statics/libs/jquery.min.js"></script>
    <script src="${request.contextPath}/statics/libs/vue.min.js"></script>
    <script src="${request.contextPath}/statics/libs/router.js"></script>
    <script src="${request.contextPath}/statics/libs/bootstrap.min.js"></script>
    <script src="${request.contextPath}/statics/libs/app.js"></script>
    <script src="${request.contextPath}/statics/plugins/layer/layer.js"></script>
    <script src="${request.contextPath}/statics/js/index.js"></script>
</body>
</html>